package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 对账明细对象 t_app_details
 * 
 * @author ruoyi
 * @date 2025-04-23
 */
public class TAppDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 存款账号/贷款文书合同号 */
    @Excel(name = "存款账号/贷款文书合同号")
    private String contractNumber;

    /** 账单截止日期 */
    @Excel(name = "账单截止日期")
    private String deadlineTime;

    /** 币种 */
    @Excel(name = "币种")
    private String currency;

    /** 交易类型（1退汇 2交易成功 3交易失败 4内部往来 5部分内部往来 6外部交易） */
    @Excel(name = "交易类型", readConverterExp = "1=退汇,2=交易成功,3=交易失败,4=内部往来,5=部分内部往来,6=外部交易")
    private String transactionType;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private String accountBalance;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setContractNumber(String contractNumber) 
    {
        this.contractNumber = contractNumber;
    }

    public String getContractNumber() 
    {
        return contractNumber;
    }

    public void setDeadlineTime(String deadlineTime) 
    {
        this.deadlineTime = deadlineTime;
    }

    public String getDeadlineTime() 
    {
        return deadlineTime;
    }

    public void setCurrency(String currency) 
    {
        this.currency = currency;
    }

    public String getCurrency() 
    {
        return currency;
    }

    public void setTransactionType(String transactionType) 
    {
        this.transactionType = transactionType;
    }

    public String getTransactionType() 
    {
        return transactionType;
    }

    public void setAccountBalance(String accountBalance) 
    {
        this.accountBalance = accountBalance;
    }

    public String getAccountBalance() 
    {
        return accountBalance;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contractNumber", getContractNumber())
            .append("deadlineTime", getDeadlineTime())
            .append("currency", getCurrency())
            .append("transactionType", getTransactionType())
            .append("accountBalance", getAccountBalance())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .toString();
    }
}
